#include"student.h"

#ifndef __TEACHER_H_
#define __TEACHER_H_


#define StuSize 10
struct Teacher   //结构体名
{
     int age;    //年龄
     char Name[NameSize];//姓名 
     stu s[StuSize];
     int size;//学生数量
};
typedef struct Teacher  teach;

void InitTeacher(teach *t,const char *name,int age);
void InsertStu(teach *t,int id,const char *StuName);
void PrintTeacher(teach *t);
void RmStuByID(teach *t,int ID);
void RmStuByName(teach *t,char *name);
void RemoveByIndex(teach *t,int ID);//根据下标删除数组
void Printstu(stu *s);




#endif